﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BreadCrumbs
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BreadcrumbControl.Path.Add("webform1", "~/webform1.aspx").Add("webform2", "");

            }
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/webform3.aspx");
        }
    }
}